import request from '@/utils/request'

// 渠道表列表
export function apiChannelsLists(params: any) {
    return request.get({ url: '/channels.channels/lists', params })
}

// 添加渠道表
export function apiChannelsAdd(params: any) {
    return request.post({ url: '/channels.channels/add', params })
}

// 编辑渠道表
export function apiChannelsEdit(params: any) {
    return request.post({ url: '/channels.channels/edit', params })
}

// 删除渠道表
export function apiChannelsDelete(params: any) {
    return request.post({ url: '/channels.channels/delete', params })
}

// 渠道表详情
export function apiChannelsDetail(params: any) {
    return request.get({ url: '/channels.channels/detail', params })
}